package cn.tedu.util;

import cn.tedu.domain.Oss;
import org.springframework.context.annotation.Bean;


public class UploadAutoConfiguration {

    @Bean
    public OssUtil ossTemplate(Oss properties) {
        return new OssUtil(properties);
    }
    @Bean
    public FaceUtil aipFaceTemplate() {
        return new FaceUtil();
    }
}
